The WriteableBitmap.
The points for the curve in x and y pairs, therefore the array is interpreted as (x1, y1, cx1, cy1, cx2, cy2, x2, y2, cx3, cx4 ..., xn, yn).
The color for the spline.
FillBeziers(WriteableBitmap,Int32[],Int32) Method
Draws a series of filled, cubic Bezier splines each defined by start, end and two control points. The ending point of the previous curve is used as starting point for the next. Therfore the inital curve needs four points and the subsequent 3 (2 control and 1 end point).
Syntax
[Extension()]
public static void FillBeziers( 
   WriteableBitmap bmp,
   int[] points,
   int color
)

Parameters

bmp
The WriteableBitmap.
points
The points for the curve in x and y pairs, therefore the array is interpreted as (x1, y1, cx1, cy1, cx2, cy2, x2, y2, cx3, cx4 ..., xn, yn).
color
The color for the spline.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also